package com.rlax.ccdemo.service.user.config;

import com.rlax.corebin.mp.config.BaseMybatisPlusConfiguration;
import com.rlax.corebin.mp.meta.MetaObjectProperties;
import com.rlax.corebin.mp.page.PageProperties;
import com.rlax.corebin.mp.porperties.CorebinMybatisPlusProperties;
import com.rlax.corebin.mp.tenant.TenantProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Mybatis
 * @author Rlax
 *
 */
@Configuration
@Slf4j
@EnableConfigurationProperties({CorebinMybatisPlusProperties.class, PageProperties.class, MetaObjectProperties.class, TenantProperties.class})
public class MybatisPlusConfiguration extends BaseMybatisPlusConfiguration {

    public MybatisPlusConfiguration(CorebinMybatisPlusProperties databaseProperties) {
        super(databaseProperties);
    }

}
